package com.sumbo.config.message;

/**
 * \* User: MeiZhongHao
 * \* Date: 2019-06-06
 * \* Time: 10:08
 * \* Description: kafka消息偏移
 * \
 */
public class KafkaMessageOffset {

    private String client;

    private long offset;

    private String topic;

    private int partition;

    public KafkaMessageOffset() {
    }

    public KafkaMessageOffset(String client, long offset, String topic, int partition) {
        this.client = client;
        this.offset = offset;
        this.topic = topic;
        this.partition = partition;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public long getOffset() {
        return offset;
    }

    public void setOffset(long offset) {
        this.offset = offset;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public int getPartition() {
        return partition;
    }

    public void setPartition(int partition) {
        this.partition = partition;
    }
}